interface TableData {
    id: number;
    name: string;
    svg?: string;
    act_svg?: string,
    status: number,
    sort?: number,
    createTime:string,
    updateTime?:string,
}

export const tableData: TableData[] = [
    {
        id:1,
        name:"OMG 妙啊",
        status:1,
        sort:1,
        createTime:"2023-5-17",
        updateTime:"2023-5-17"
    },
    {
        id:2,
        name:"城堡",
        status:1,
        sort:2,
        createTime:"2023-5-17",
        updateTime:"2023-5-17"
    },
    {
        id:3,
        name:"书屋",
        status:1,
        sort:3,
        createTime:"2023-5-17",
        updateTime:"2023-5-17"
    },
    {
        id:4,
        name:"北极风光",
        status:1,
        sort:4,
        createTime:"2023-5-17",
        updateTime:"2023-5-17"
    },
    {
        id:5,
        name:"大师设计",
        status:1,
        sort:5,
        createTime:"2023-5-17",
        updateTime:"2023-5-17"
    },
]

interface TableList {
    prop?: string;
    label?: string;
    // 固定 接收 left right
    fixed?: string;
    width?: number;
    sortable?:boolean
}

export const tableList: TableList[] = [
    {
        prop: 'id',
        label: '序号',
        width: 100,
    },
    {
        prop: 'name',
        label: '分类名称',
    },
    {
        prop: 'svg',
        label: '图标',
     
    },
    {
        prop: 'act_svg',
        label: '选中图标',
     
    },
    {
        prop: 'status',
        label: '状态',
    
    },
    {
        prop: 'sort',
        label: '排序',
        sortable:true
    },
    {
        prop: 'createTime',
        label: '更新时间',
        sortable:true
    },
    {
        prop: 'updateTime',
        label: '更新时间',
        sortable:true
    },
];
